package com.ddwl.schema.vo.wallet;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.Instant;

/**
 * (UserCoupon)返回对象
 *
 * @author zach
 * @since 2020-07-29 14:58:04
 */
@Getter
@Setter
@ApiModel(value = "用户优惠券vo")
public class UserCouponVo {

    @ApiModelProperty(value = "用户券ID")
    private String id;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "优惠券编号")
    private String couponNo;

    @ApiModelProperty(value = "优惠券id")
    private CouponVo coupon;

    @ApiModelProperty(value = "失效时间")
    private Instant expireDate;

    @ApiModelProperty(value = "状态 0、未使用 1、已使用 2、已过期")
    private Integer status;

    @ApiModelProperty(value = "领取时间")
    private Instant gmtCreated;

    @ApiModelProperty(value = "修改时间")
    private Instant gmtModified;
}